<extend name="./Application/Admin/View/base.html" />
<block name="title"><title><?php echo C(APP_NAME);?>PC端管理</title></block>
<block name="stylesheets">
<link href="__PUBLIC__/assets/css/select2.css" rel="stylesheet">

</block>
<block name="stylecss">
<style type='text/css'>
    table tr td{
        width: 80%;
    }
    table tr th{
        width: 16%;
        text-align: center;
        vertical-align: middle!important;
    }
</style>
</block>
<block name="smallmenu">
<ul class="breadcrumb">
	<li>
		<i class="ace-icon fa fa-home home-icon"></i>
		<a href="{:U('Index/index')}">主页</a>
	</li>
    <li>
		<a href="{:U('Version/index')}">版本列表</a>
	</li>
	<li class="active">版本详情</li>
</ul><!-- /.breadcrumb -->

<!-- #section:basics/content.searchbox -->
<div class="nav-search" id="nav-search"></div><!-- /.nav-search -->
</block>
<block name="content">
<div class="row" style="margin:12px 0">
    <div class="col-xs-12"><span class="label label-success label-lg "> 版本信息 </span></div>
</div>
<table class="table table-striped table-bordered table-hover" >
    <tr>
        <th>客户端</th>
        <td><?php if ($version_arr['version_client'] == 1): ?>
        <span style="color:green">考生端</span>
        <?php elseif ($version_arr['version_client'] == 2): ?>
        <span style="color:blue">考官端</span>
        <?php endif ?></td>
    </tr>
    <tr>
        <th>版本号</th>
        <td>{$version_arr.version_code}</td>
    </tr>
    <tr>
        <th>版本名称</th>
        <td>{$version_arr.version_name}</td>
    </tr>
    <tr>
        <th>版本更新详情</th>
        <td>{$version_arr.version_details}</td>
    </tr>
    <tr>
        <th>版本创建时间</th>
        <td>{$version_arr.version_createtime|date='Y-m-d H:i',###}</td>
    </tr>
</table>

<div style="margin-top:20px">
<span class="btn btn-sm" onclick="location.href='{$_SERVER[HTTP_REFERER]}'">返回</span>
</div>
</block>
<block name="scripts">
<script src="__PUBLIC__/assets/js/select2.js"></script>
</block>
<block name="jscript">
<script script="text/javascript">
    $(function(){
        $('#menu_baseinfo').addClass('active open');
        $('#menu_version_list').addClass('active');
    });
</script>

</block>